// 公告接口
export interface AnnouncementInter {
    id: number | null;
    title: string;
    content: string;
    createdAt: Date | null;
    updatedAt: Date | null;
    publishStatus: 'DRAFT' | 'PUBLISHED' | 'ARCHIVED'; // 使用字面量联合类型限定值
    views: number;
}

// 对应后端auth中的UserAccount
export interface UserInter {
    email: String,
    username: String,
    password: String
}

// 返回结果接口
export interface ResultInter {
    code: number,
    message: String,
    data: any
}

